From a9fcd151544877fb0d70e69dfc7463eddee9718e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 31 Jul 2002 22:04:33 +0000 Subject: [PATCH] (byte-compile-find-cl-functions): Check that (car elt) is a string. --- lisp/emacs-lisp/bytecomp.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 936f9fec5cf..b70a79971b3 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -10,7 +10,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.107 $") +(defconst byte-compile-version "$Revision: 2.108 $") ;; This file is part of GNU Emacs. @@ -1206,7 +1206,8 @@ Each function's symbol gets marked with the `byte-compile-noruntime' property." (defun byte-compile-find-cl-functions () (unless byte-compile-cl-functions (dolist (elt load-history) - (when (string-match "^cl\\>" (car elt)) + (when (and (stringp (car elt)) + (string-match "^cl\\>" (car elt))) (setq byte-compile-cl-functions (append byte-compile-cl-functions (cdr elt))))) -- 2.30.2